<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport"
        content="width=device-width, initial-scale=1.0,user-scalable=no,maximum-scale=1.0,minimum-scale=1.0">
    <link rel="stylesheet" href="css/normalize.css">
    <!-- 必须要引入swiper插件的CSS文件 -->
    <link rel="stylesheet" href="css/swiper.min.css">
    <link rel="stylesheet" href="css/index.css">
    <!-- 必须要引入swiper插件的js文件 -->
    <script src="js/swiper.min.js"></script>
    <script src="js/flexible.js"></script>
    <title>黑马面面</title>
</head>

<body>
    <section class="warp">
        <!-- 头部 -->
        <header class="header">黑马面面</header>
        <!-- nav导航区 -->
        <nav class="nav">
            <a href="#" class="item">
                <img src="./icons/icon1.png" alt="">
                <span>HR面试</span>
            </a>
            <a href="#" class="item">
                <img src="./icons/icon2.png" alt="">
                <span>笔试</span>
            </a>
            <a href="#" class="item">
                <img src="./icons/icon3.png" alt="">
                <span>技术面试</span>
            </a>
            <a href="#" class="item">
                <img src="./icons/icon4.png" alt="">
                <span>模拟面试</span>
            </a>
            <a href="#" class="item">
                <img src="./icons/icon5.png" alt="">
                <span>面试技巧</span>
            </a>
            <a href="#" class="item">
                <img src="./icons/icon6.png" alt="">
                <span>薪资查询</span>
            </a>
        </nav>
        <!-- go模块 -->
        <section class="go">
            <img src="images/go.png" alt="">
        </section>
    </section>
    <!-- 就业指导模块 -->
    <section class="content">
        <!-- 指导头部 -->
        <div class="con_hd">
            <h4>
                <span class="icon">
                    <img src="./icons/i2.png" alt="">
                </span>
                就业指导
            </h4>
            <a href="#" class="more">更多>></a>
        </div>
        <!-- 指导轮播图 -->
        <div class="get_job_focus">
            <!-- Swiper -->
            <div class="swiper-container get_job_fo">
                <div class="swiper-wrapper">
                    <div class="swiper-slide">
                        <a href="#"><img src="images/pic.png" alt=""></a>
                        <p>美女教你如何藏私房钱</p>
                    </div>
                    <div class="swiper-slide">
                        <a href="#"><img src="images/ldh.jpg" alt=""></a>
                        <p>美女教你如何藏私房钱</p>
                    </div>
                    <div class="swiper-slide">
                        <a href="#"><img src="images/3.jpg" alt=""></a>
                        <p>美女教你如何藏私房钱</p>
                    </div>
                </div>

                <!-- Add Pagination -->
                <!-- <div class="swiper-pagination"></div> -->
            </div>
            <!-- Add Arrows 加左右箭头
            根据设计要求，箭头要放在container外才行,因为container有overflow:hidden.
        这个箭头是绝对定位的，所以要给父盒子getjobfocus加相对定位-->
            <div class="swiper-button-next"></div>
            <div class="swiper-button-prev"></div>
            <!-- <script>
                (function () {
                    var swiper = new Swiper('.swiper-container', {
                        // 你能看到的slide的个数,这里应该设2，按显示宽度算。
                        // 设置3或更高的数值会出显示图片显示重叠的情况。
                        slidesPerView: 2,
                        // 每个slide的距离
                        spaceBetween: 30,
                        // 最大的图片是否放中间
                        centeredSlides: true,
                        loop: true,
                        // pagination: {
                        //     el: '.swiper-pagination',
                        //     clickable: true,
                        // },
                        // 加箭头
                        navigation: {
                            nextEl: '.swiper-button-next',
                            prevEl: '.swiper-button-prev',
                        },
                    });
                })();
            </script> -->
        </div>
    </section>
    <!-- 充电学习模块 -->
    <section class="content">
        <!-- 指导头部 -->
        <div class="con_hd">
            <h4>
                <span class="icon">
                    <img src="./icons/i1.png" alt="">
                </span>
                充电学习
            </h4>
            <a href="#" class="more">更多>></a>
        </div>
        <!-- 学习模块轮播图 -->
        <div class="study">
            <!-- Swiper -->
            <div class="swiper-container study_fo">
                <div class="swiper-wrapper">
                    <div class="swiper-slide">
                        <img src="images/pic1.png" alt="">
                        <h5>学习地到英语 告别中式英语</h5>
                        <p>156人学习</p>
                    </div>
                    <div class="swiper-slide">
                        <img src="images/pic2.png" alt="">
                        <h5>学习地到英语 告别中式英语</h5>
                        <p>156人学习</p>
                    </div>
                    <div class="swiper-slide">
                        <img src="images/pic1.png" alt="">
                        <h5>学习地到英语 告别中式英语</h5>
                        <p>156人学习</p>
                    </div>
                    <div class="swiper-slide">
                        <img src="images/pic2.png" alt="">
                        <h5>学习地到英语 告别中式英语</h5>
                        <p>156人学习</p>
                    </div>
                </div>
                <!-- Add Pagination -->
                <!-- <div class="swiper-pagination"></div> -->
            </div>
            <!-- <script>
                (function () {
                    var swiper = new Swiper('.swiper-container', {
                        slidesPerView: 3,
                        spaceBetween: 30,
                        pagination: {
                            el: '.swiper-pagination',
                            clickable: true,
                        },
                    });
                })();
            </script> -->
        </div>
    </section>
    <!-- 底部模块 -->
    <footer class="footer">
        <a href="#" class="item">
            <img src="icons/home.png" alt="">
            <p>首页</p>
        </a>
        <a href="#" class="item">
            <img src="icons/ms.png" alt="">
            <p>模拟面试</p>
        </a>
        <a href="#" class="item">
            <img src="icons/net.png" alt="">
            <p>技术面试</p>
        </a>
        <a href="#" class="item">
            <img src="icons/user.png" alt="">
            <p>我的主页</p>
        </a>
    </footer>
    <script>
        (function () {
            var swiper = new Swiper('.get_job_fo', {
                // 你能看到的slide的个数,这里应该设2，按显示宽度算。
                // 设置3或更高的数值会出显示图片显示重叠的情况。
                slidesPerView: 2,
                // 每个slide的距离
                spaceBetween: 30,
                // 最大的图片是否放中间
                centeredSlides: true,
                loop: true,
                // pagination: {
                //     el: '.swiper-pagination',
                //     clickable: true,
                // },
                // 加箭头
                navigation: {
                    nextEl: '.swiper-button-next',
                    prevEl: '.swiper-button-prev',
                },
            });
        })();
    </script>
    <script>
        (function () {
            var swiper = new Swiper('.study_fo', {
                // 把３改成２.４　让一框显示，２.４个图片。
                slidesPerView: 2.4,
                spaceBetween: 20,
                // pagination: {
                //     el: '.swiper-pagination',
                //     clickable: true,
                // },
            });
        })();
    </script>
</body>
<!-- js代码都放在body里，就要调动不同的类名，如果在各轮播图自己的类下，就不用。 -->

</html>